using System;
using System.Runtime.CompilerServices;

namespace UTJ.FrameCapturer
{
	public abstract class EncoderBase
	{
		[CompilerGenerated]
		private static EventHandler _003C_003Ef__mg_0024cache0;

		public EncoderBase()
		{
			AppDomain.CurrentDomain.DomainUnload += WaitAsyncDelete;
		}

		public static void WaitAsyncDelete(object sender, EventArgs e)
		{
			fcAPI.fcWaitAsyncDelete();
		}

		public abstract void Release();

		public abstract bool IsValid();
	}
}
